home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / fileutils_3_3.lha / fileutils-3.3 / lib / lmkfile < prev    next >
Text File  |  1992-10-01  |  3KB  |  100 lines

  1. # Makefile for library files used by GNU fileutils.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. CSWITCH=-dSTDC_HEADERS -dVOID_CLOSEDIR -dSTRERROR_MISSING -i/lib/ -isrc:unix/include/
  20. OPTSWITCH=-O
  21. CFLAGS= $(CSWITCH) $(OPTSWITCH)
  22.  
  23. SOURCES = argmatch.c backupfile.c basename.c dirname.c eaccess.c \
  24. error.c filemode.c fsusage.c getopt.c getopt1.c \
  25. getversion.c idcache.c isdir.c makepath.c \
  26. modechange.c mountlist.c savedir.c \
  27. stripslash.c xgetcwd.c xmalloc.c xstrdup.c yesno.c \
  28. getdate.y posixtm.y \
  29. fileblocks.c fnmatch.c ftruncate.c mkdir.c mktime.c rename.c stpcpy.c \
  30. strdup.c strstr.c
  31.  
  32. OBJECTS = argmatch.o backupfile.o basename.o dirname.o eaccess.o \
  33. error.o filemode.o getopt.o getopt1.o \
  34. getversion.o idcache.o isdir.o makepath.o \
  35. modechange.o savedir.o \
  36. stripslash.o xgetcwd.o xmalloc.o xstrdup.o yesno.o \
  37. getdate.o posixtm.o \
  38. fnmatch.o mktime.o strstr.o alloca.o
  39.  
  40. DISTFILES = Makefile.in backupfile.h getopt.h modechange.h \
  41. fnmatch.h fsusage.h mountlist.h system.h $(SOURCES)
  42.  
  43. all: fu.lib
  44.  
  45. TAGS: $(SOURCES)
  46.     etags $(SOURCES)
  47.  
  48. fu.lib: $(OBJECTS)
  49.     -delete fu.lib
  50.     oml fu.lib r <@<
  51. $(OBJECTS)
  52. <
  53.  
  54. getdate.c: getdate.y
  55.     @echo expect 9 shift/reduce conflicts
  56.     -bison -o getdate.c getdate.y
  57.  
  58. # Make the rename atomic, in case sed is interrupted and later rerun.
  59. posixtm.c: posixtm.y
  60.     -bison -o posixtm.tab.c posixtm.y
  61.     sed -e s/yy/zz/g posixtm.tab.c > tposixtm.c
  62.     copy tposixtm.c posixtm.c
  63.     delete force tposixtm.c posixtm.tab.c
  64.  
  65. alloca.o: alloca.c
  66. amiga.o: amiga.c
  67. argmatch.o: argmatch.c
  68. backupfile.o: backupfile.c backupfile.h
  69. basename.o: basename.c
  70. dirname.o: dirname.c
  71. eaccess.o: eaccess.c
  72. error.o: error.c
  73. fileblocks.o: fileblocks.c
  74. filemode.o: filemode.c
  75. fnmatch.o: fnmatch.c
  76. fsusage.o: fsusage.c fsusage.h
  77. ftruncate.o: ftruncate.c
  78. getopt.o: getopt.c getopt.h
  79. getopt1.o: getopt1.c getopt.h
  80. getversion.o: getversion.c backupfile.h
  81. idcache.o: idcache.c
  82. isdir.o: isdir.c
  83. makepath.o: makepath.c
  84. mkdir.o: mkdir.c
  85. mktime.o: mktime.c
  86. modechange.o: modechange.c modechange.h
  87. mountlist.o: mountlist.c mountlist.h
  88. rename.o: rename.c
  89. savedir.o: savedir.c
  90. stpcpy.o: stpcpy.c
  91. strdup.o: strdup.c
  92. stripslash.o: stripslash.c
  93. strstr.o: strstr.c
  94. xgetcwd.o: xgetcwd.c
  95. xmalloc.o: xmalloc.c
  96. xstrdup.o: xstrdup.c
  97. yesno.o: yesno.c
  98. getdate.o: getdate.c
  99. posixtm.o: posixtm.c
  100.